
package com.uuah.server.api.endpoint;

import java.io.Serializable;
import java.net.URI;
import java.util.Properties;

import com.uuah.api.lifecycle.Initialisable;

/**
 *  * protocol://[host]:[port]/endpointUri
 *
 * <p>update record:updator，update time，update content and version</p>
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-27 上午12:03:51
 * @version 1.0.0
 */
public interface IEndpointURI extends Serializable, Initialisable {
	String PROPERTY_ENDPOINT_NAME = "endpointName";
	String PROPERTY_ENDPOINT_URI = "address";
	String PROPERTY_CONNECTOR_NAME = "connector";
	String PROPERTY_REQUEST_TRANSFORMERS = "requestTransformers";
	String PROPERTY_RESPONSE_TRANSFORMERS = "responseTransformers";

	String getAddress();

	String getFilterAddress();

	String getEndpointName();

	void setEndpointName(String name);

	Properties getParams();

	Properties getUserParams();

	String getScheme();

	String getSchemeMetaInfo();

	String getFullScheme();

	String getHost();

	int getPort();

	String getPath();

	String getQuery();

	String getUserInfo();

	String getRequestTransformers();

	String getResponseTransformers();

	URI getUri();

	String getConnectorName();

	String getUser();

	String getPassword();
}
